package com.fanctoryexample.demo.abstactfactory;

import com.fanctoryexample.demo.Mengniu;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class abstractFactoryTest {

    public static void main(String[] args) {
        MilkFactory factory = new MilkFactory();
        log.info("获取蒙牛牛奶：{}", factory.getMengniu());
    }
}
